

#import "FAMHomeSportsView.h"
@interface FAMHomeSportsView()
@property (weak, nonatomic) IBOutlet UIView *FAMMinutesBackView;
@property (weak, nonatomic) IBOutlet UIView *FAMkcalBackView;

@end
@implementation FAMHomeSportsView

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        NSArray *array = [[NSBundle mainBundle] loadNibNamed:@"FAMHomeSportsView" owner:self options:nil];
        self = array.firstObject;
        [self FAM_showUi];
    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    self.frame = CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
}
- (void)FAM_showUi{
    self.FAMMinutesBackView.layer.borderWidth = 1;
    self.FAMMinutesBackView.layer.borderColor = kCustom0xColor(0xBABABA, 1.0).CGColor;
    self.FAMkcalBackView.layer.borderWidth = 1;
    self.FAMkcalBackView.layer.borderColor = kCustom0xColor(0xBABABA, 1.0).CGColor;
}
- (IBAction)FAM_saveButtonClick:(UIButton *)sender {
}
- (IBAction)FAM_closeButtonClick:(UIButton *)sender {
    [self removeFromSuperview];
}

@end
